//
//  OnlineTableViewCell.m
//  XiXi
//
//  Created by HawkingWang on 16/9/29.
//  Copyright © 2016年 xi-xi.cc. All rights reserved.
//

#import "OnlineTableViewCell.h"

@implementation OnlineTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)loadData:(OnlineModel *)model{
    [_image sd_setImageWithURL:[CommonUtil getImageUrl:model.image] placeholderImage:DefaultImage];
    _title.text = model.name;
    _price.text = model.price;
    _time.text = model.time;
    _director.text = model.director;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
